package com.example.javatwo.pojo.cg.djg;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 采购订单
 * @author Administrator
 *
 */
public class Purchase  {
	
	  private String billno;  //单据编号	  
	 @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	  private Date billDate;                   // 单据日期
	  private String ftyid;              // 供应商ID  供应商主文件表
	  private String billStyleName;       //采购订单类型名称 
	  private String factCurrencyName;     // 币别
	  private String priceOFTax;         //单价是否含税  
	  private Double exchRate;                 // 汇率 
	  private String billSatus;           //单况  
	  private String outAddress;         // 送货地址
	  private String salesName;            // 采购人员
	  private String departName;           // 所属部门
	  private String projectName;        //所属项目
	  private String maker;              // 制单人员
	  private String permitter;           // 复核人员
	  @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	  private Date auditDate;                  // 审核时间
	  private String yNAudit;              //是否审核  
	  private String del;                  // 是否删除  
	  @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	  private Date validDate;                   //有效日期
	  private String standby1;             //备用字段1
	  private String standby2;           // 备用字段2
	  private String standby3;           // 备用字段3
	  
	  
	  //供应商中的字段
	  private String supplierid; // 供应商编号
	  private String suppFullName;  //供应商全称
	  private String suppShortName;  //供应商简称
	  
	  
	  
	  public String getSupplierid() {
		return supplierid;
	}
	public void setSupplierid(String supplierid) {
		this.supplierid = supplierid;
	}
	public String getSuppFullName() {
		return suppFullName;
	}
	public void setSuppFullName(String suppFullName) {
		this.suppFullName = suppFullName;
	}
	public String getSuppShortName() {
		return suppShortName;
	}
	public void setSuppShortName(String suppShortName) {
		this.suppShortName = suppShortName;
	}
	//祥表集合
	  private List<PurchaseInfo> purchaseInfos; 
	   
	
	
	public String getBillno() {
		return billno;
	}
	public void setBillno(String billno) {
		this.billno = billno;
	}
	public Date getBillDate() {
		return billDate;
	}
	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}
	public String getFtyid() {
		return ftyid;
	}
	public void setFtyid(String ftyid) {
		this.ftyid = ftyid;
	}
	public String getBillStyleName() {
		return billStyleName;
	}
	public void setBillStyleName(String billStyleName) {
		this.billStyleName = billStyleName;
	}
	public String getFactCurrencyName() {
		return factCurrencyName;
	}
	public void setFactCurrencyName(String factCurrencyName) {
		this.factCurrencyName = factCurrencyName;
	}
	public String getPriceOFTax() {
		return priceOFTax;
	}
	public void setPriceOFTax(String priceOFTax) {
		this.priceOFTax = priceOFTax;
	}
	public Double getExchRate() {
		return exchRate;
	}
	public void setExchRate(Double exchRate) {
		this.exchRate = exchRate;
	}
	public String getBillSatus() {
		return billSatus;
	}
	public void setBillSatus(String billSatus) {
		this.billSatus = billSatus;
	}
	public String getOutAddress() {
		return outAddress;
	}
	public void setOutAddress(String outAddress) {
		this.outAddress = outAddress;
	}
	public String getSalesName() {
		return salesName;
	}
	public void setSalesName(String salesName) {
		this.salesName = salesName;
	}
	public String getDepartName() {
		return departName;
	}
	public void setDepartName(String departName) {
		this.departName = departName;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public Date getAuditDate() {
		return auditDate;
	}
	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}
	public String getyNAudit() {
		return yNAudit;
	}
	public void setyNAudit(String yNAudit) {
		this.yNAudit = yNAudit;
	}
	public String getDel() {
		return del;
	}
	public void setDel(String del) {
		this.del = del;
	}
	public Date getValidDate() {
		return validDate;
	}
	public void setValidDate(Date validDate) {
		this.validDate = validDate;
	}
	public String getStandby1() {
		return standby1;
	}
	public void setStandby1(String standby1) {
		this.standby1 = standby1;
	}
	public String getStandby2() {
		return standby2;
	}
	public void setStandby2(String standby2) {
		this.standby2 = standby2;
	}
	public String getStandby3() {
		return standby3;
	}
	public void setStandby3(String standby3) {
		this.standby3 = standby3;
	}
	public List<PurchaseInfo> getPurchaseInfos() {
		return purchaseInfos;
	}
	public void setPurchaseInfos(List<PurchaseInfo> purchaseInfos) {
		this.purchaseInfos = purchaseInfos;
	}
	  
	  
}
